$fn=100;
//26,60
height=60;

lan(hh=height);

module lan(hh=20){
    difference(){
        cylinder(h=1.5,d=90);
      cylinder(h=1.5,d=70);
    }
    dgr=atan(hh/15)+90;
    echo(dgr);
    translate([0,0,1.5])difference(){
        cylinder(h=hh,d1=74,d2=44);//差15
        cylinder(h=hh,d1=70,d2=40);
        for(ang=[0:20:360]){
            rotate([0,0,ang])translate([27,0,hh])rotate([0,dgr,0])cube([10,5,hh-3]);
        }
    }

    translate([0,0,hh+1.5]){
        difference(){
            cylinder(h=2,d=44);
            cylinder(h=3,d=10);
            for(ang=[0:45:360]){
                rotate([0,0,ang])translate([7,-2.5,0])cube([12,4,3]);
                rotate([0,0,ang])translate([6.5,15,0])cylinder(h=3,d=4);
            }
            
        }
    }
}
    